package com.example.yk2021xm04.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author ZengQi
 * @since 2021-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("xm04_t_file")
@ApiModel(value="File对象", description="文件表")
public class File implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "传输者")
    private String fileSender;

    @ApiModelProperty(value = "文件类型")
    private String fileType;

    @ApiModelProperty(value = "项目号")
    private String projectId;

    @ApiModelProperty(value = "文件名")
    private String fileName;

    @ApiModelProperty(value = "地址")
    private String url;

    @ApiModelProperty(value = "后缀")
    private Integer suffix;

    @ApiModelProperty(value = "上传时间")
    private LocalDateTime fileSendtime;


}
